package com.ext.aic.apis.user;

import com.ext.aic.apis.ApiCodes;
import com.ext.aic.beans.response.LoginItem;

import io.github.eyinfo.okrx.annotations.BaseUrlTypeName;
import io.github.eyinfo.okrx.annotations.DataParam;
import io.github.eyinfo.okrx.annotations.POST;
import io.github.eyinfo.okrx.beans.RetrofitParams;
import io.github.eyinfo.okrx.enums.RequestContentType;

@BaseUrlTypeName(value = ApiCodes.business, contentType = RequestContentType.Json)
public interface IUserAPI {
    @POST(value = "/api/auth/login")
    @DataParam(value = LoginItem.class)
    RetrofitParams submitLogin();
}
